package com.chatcompetition.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.chatcompetition.domain.dto.FeedbackDTO;
import com.chatcompetition.domain.entity.Feedback;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FeedbackMapper extends BaseMapper<Feedback> {

@Insert("insert into feedback(type, content, photo_url) values(#{type}, #{content}, #{photoUrl})")
void addFeedback(Feedback feedback);

}
